

package com.zdkj.subway.support.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * TVM平账日志表
 *
 * @author cuilei
 * @date 2020-06-17 15:32:02
 */
@Data
@TableName("sw_pm_tvm_account_log")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "TVM平账日志表")
public class SwPmTvmAccountLog extends Model<SwPmTvmAccountLog> {
    private static final long serialVersionUID = 1L;

    /**
     * 唯一标识
     */
    @TableId
    @ApiModelProperty(value = "唯一标识")
    private Integer id;
    /**
     * 线路编码
     */
    @ApiModelProperty(value = "线路编码")
    private String lineCode;
    /**
     * 车站编码
     */
    @ApiModelProperty(value = "车站编码")
    private String stationCode;
    /**
     * TVM编号
     */
    @ApiModelProperty(value = "TVM编号")
    private String tvmCode;
    /**
     * 平账金额
     */
    @ApiModelProperty(value = "平账金额")
    private BigDecimal accountAmount;
    /**
     * 被平账日期
     */
    @ApiModelProperty(value = "被平账日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime accountedDate;
    /**
     * 平账日期
     */
    @ApiModelProperty(value = "平账日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime accountDate;
    /**
     * 是否归档:0:未归档;1:已归档
     */
    @ApiModelProperty(value = "是否归档:0:未归档;1:已归档")
    private String logStatus;
    /**
     * 归档日期
     */
    @ApiModelProperty(value = "归档日期")
    private LocalDateTime logDate;
    /**
     * 创建人ID
     */
    @ApiModelProperty(value = "创建人ID")
    private Integer creatorId;
    /**
     * 创建人名称
     */
    @ApiModelProperty(value = "创建人名称")
    private String creatorName;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;
    /**
     * 部门ID
     */
    @ApiModelProperty(value = "部门ID")
    private Integer deptId;
    /**
     * 删除标志
     */
    @TableLogic
    private String delFlag;
}
